package com.jyx.oop.driver;

import com.jyx.oop.address.Address;
import com.jyx.oop.car.Car;
import com.jyx.oop.vihecle.Vihecle;

public class Driver {
	
	private String name;
	
	public void driver(Car c,Address dest){
		c.go(dest);
	}

	public void driver(Vihecle v){
		v.go(new Address("东北"));
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	

}
